import localForage from '@/utils/localForage';

const key = 'authToken';

export default {
  getToken() {
    return localForage.getItem(key);
  },
  setToken(token) {
    return localForage.setItem(key, token);
  },
  removeToken() {
    return localForage.removeItem(key);
  }
};
